import random print ("Welcome,") print ("I am a Computer.") print ("But Unlike most Computers") print ("I can talk!") print (" ") Usersname = input("Whats your name?") print ("Hello", Usersname, "Thats a nice name!") print ("My name is CodeSkulptor3") print (" ") yesnostore = input("Have you gone to the Store today? -Yes or No-") if yesnostore == "Yes" or yesnostore == "yes": Whatyougot = input("Great, what did you Buy? -One Item Please-") amount = int(input("How many " + Whatyougot + "s Did you get?")) price = float(input("How much does one " + Whatyougot + " cost?")) total = amount * price print ("I don't Know if this helps but you paid $", total, "Today.") else: print("Thats ok, but don't forget to get some food!") print (" ") yesnomadlib = input("Do you want to do a madlib? -Yes or No-") if yesnomadlib == "Yes" or yesnomadlib == "yes": word1 = input("Give an Adjective") word2 = input("Give an Adjective") word3 = input("Give a Noun") word4 = input("Give a Type of room") word5 = input("Give a Verb") word6 = input("Give a Verb") word7 = input("Give a Name") word8 = input("Give a Noun") print ("Ready to see the Finised product!") print ("it was a", word1, "cold november day.") print ("I woke up to the", word2, "smell of", word3, "roasting in the", word4, "downstairs.") print ("I", word5, "down the stairs to see if i could help", word6, "the dinner.") print ("My mom said, see if", word7, "needs a fresh", word8 + ".") else: print("Thats ok, but they are fun") print (" ") favcolor = input("Whats you Favorite Color?") print (favcolor, "is a great color, but me being a computer, I like olive Green!") favfood = input("Whats you Favorite food?") print (favfood, "is a great food, but I Like fried scallops!") favanimal = input("Whats you Favorite animal?") print ("Oh wow, what a great pick, I think that my favorite animal is probaly a Greywolf!") print (" ") yesnostory = input("Do you wanna here a story! -Yes Or No-") if yesnostory == "Yes" or yesnostory == "yes": print ("One day, while an old man, Mr. Dhruv was washing his toothbrush to brush his teeth,") print ("the light went out. Now, Mr. Dhruv was really particular about brushing his teeth") print ("and could never even sleep if he hadn't.") print ("He also knew that the lights won't come for quite some time and he wanted sleep in 10 minutes.") print ("He thought, Oh! I have been brushing in this house for so much time.") print ("I would know where is the toothpaste and where are the other things.") print ("So, thinking this, he picked up a tube and started brushing his teeth.") print ("He thought that the taste was kind of strange, but gave the matter no thought.") print ("Suddenly, the lights came!") print ("The old man looked at his hands and he saw that he had been brushing his teeth with a face cream!") print ("He burst out laughing and cried, Haha! Now my yellow stained teeth will become white!") else: print ("ah, Bummer, it was a great story") yesnostory2 = input("Are you sure you don't want to here the story? -Yes Or No-") if yesnostory2 == "Yes" or yesnostory2 == "yes": print ("One day, while an old man, Mr. Dhruv was washing his toothbrush to brush his teeth,") print ("the light went out. Now, Mr. Dhruv was really particular about brushing his teeth") print ("and could never even sleep if he hadn't.") print ("He also knew that the lights won't come for quite some time and he wanted sleep in 10 minutes.") print ("He thought, Oh! I have been brushing in this house for so much time.") print ("I would know where is the toothpaste and where are the other things.") print ("So, thinking this, he picked up a tube and started brushing his teeth.") print ("He thought that the taste was kind of strange, but gave the matter no thought.") print ("Suddenly, the lights came!") print ("The old man looked at his hands and he saw that he had been brushing his teeth with a face cream!") print ("He burst out laughing and cried, Haha! Now my yellow stained teeth will become white!") else: print ("Ok, Ok, I get it") print (" ") yesnorannumgame = input("Do you want to play a Random Number Guessing game?") if yesnorannumgame == "Yes" or yesnorannumgame == "yes": Playagain = "Yes" while Playagain == "Yes" or Playagain == "yes": random_int = random.randint(1, 1000) Number = random_int numberguess = int(input("Guess A Number 1, 1000")) numberofguess = 1 if numberguess < Number: print ("You Guessed", numberguess, "which was To Low") else: if numberguess > Number: print ("You Guessed", numberguess, "which was To High") else: if numberguess == Number: print ("You got it, it was", Number, "You got it in", numberofguess, "guess's") while numberguess != Number: numberguess = int(input("Guess A Number 1, 1000")) numberofguess = numberofguess+1 if numberguess < Number: print ("You Guessed", numberguess, "which was To Low") else: if numberguess > Number: print ("You Guessed", numberguess, "which was To High") else: if numberguess == Number: print ("You got it, it was", Number, "You got it in", numberofguess, "guess's") Playagain = input("Do you want to play again? -Yes Or No-") print ("OK Goodbye!")